package com.tang.web_standard.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author sisyphus
 * @DATE 2022/2/17 22:14
 * @Desc
 * @Remarks
 */
@Configuration
public class AppConfig {

    @Bean
    @ConfigurationProperties(prefix = "my")
    public Test test() {
        return new Test();
    }
}
